package com.wangpu.oa.service;


import java.util.List;

import com.wangpu.oa.ao.DocumentAo;
import com.wangpu.oa.ao.QueryUserAo;
import com.wangpu.oa.ao.UserAo;
import com.wangpu.oa.dto.QueryDocResult;
import com.wangpu.oa.dto.QueryResult;
import com.wangpu.oa.entity.RoleEntity;
import com.wangpu.oa.entity.UserEntity;


public interface Systemservice {
	
	UserEntity addUser(UserAo ao,String currentUserId)throws Exception;
	
	void deleteUser(String id,String currentUserId)throws Exception;
	
	UserEntity modifyUser(String id,UserAo ao,String currentUserId)throws Exception;
	
	UserEntity loadUser(String id,String currentUserId)throws Exception;
	
	QueryResult queryUser(QueryUserAo ao,String currentUserId)throws Exception;
	
	QueryDocResult queryDocument(DocumentAo ao,String currentUserId)throws Exception;
	
}
